import request from "@/utils/request";

// 获取机器人故障历史
export function getDisinfectFaultHistory(code) {
  return request({
    url: "/robot-disinfect-fault-snapshot/v1/" + code,
    method: "get",
  });
}

// 根据logId获取故障快照信息
export function getDisinfectFaultSnapshot(id) {
  return request({
    url: "/robot-log/v1/disinfect/" + id,
    method: "get",
  });
}
